home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-17 | 753 b | 26 lines | [TEXT/GEOL] |
- Item 7524295 17-Oct-89 06:37
-
- From: NOR0042 NOD Data Nostra
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: bByte not for Byte
-
- I was hunting a bug, following its trace: a Byte field in an object appeared to
- be 0 all the time in the Inspector. But after a while the trace led me into
- MacApp itself where I discovered that bByte in the Fields method handles
- SignedByte instead. Remember:
-
- SizeOf (SignedByte) = 1
- SizeOf (Byte) = 2
-
- So, use bByte for SignedByte and bInteger for Byte. Maybe this is not enough
- to be called an error, but I consider it bad naming.
-
- After my discovery the bug was easily found elsewhere.
-
- Sigmund Tveit
- Data Nostra A/S
-
-
-